<!--
  Generated template for the ModalsfixedselectPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>
  <ion-toolbar>
    <ion-buttons start>
      <button ion-button (click)="doclose()">
        返回
      </button>
    </ion-buttons>
    <ion-title>选择固定资产</ion-title>
    <ion-buttons end>
      <button ion-button (click)="doneselect()">
        确定
      </button>
    </ion-buttons>
  </ion-toolbar>
</ion-header>
<ion-content>
  <ion-searchbar (ionInput)="getItems($event)" placeholder="输入名称查询..."></ion-searchbar>
  <ion-item *ngFor="let item of searchQuery">
    <ion-label>
      <div>资产编码：{{item.assetCode}} 资产名称：{{item.assetName}} </div>
      <div>管理部门：{{item.manageDept}} 资产归属：{{item.assetBelong}}</div>
      <div>资产类别：{{item.assetType}} 使用人：{{item.usePerson}} </div>
      <div>所在地点：{{item.place}} </div>
    </ion-label>
    <ion-checkbox color="dark" [(ngModel)]="item.searched" (ngModelChange)="doselect(item,$event)"></ion-checkbox>
  </ion-item>
</ion-content>
